package com.ljxy.score.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

/**
 * @TableName myscore
 */
@TableName(value = "myscore")
@Data
public class myscore implements Serializable {
    /**
     * 分数id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学科名称
     */
    @TableField(value = "math")
    private Integer math;

    /**
     * 学科名称
     */
    @TableField(value = "eng")
    private Integer eng;

    /**
     * 学科名称
     */
    @TableField(value = "china")
    private Integer china;

    /**
     * 用户学号
     */
    @TableField(value = "stu_id")
    private String stuId;

    @TableField(value = "class_id")
    private Integer classId;
    /**
     * 保存的学生信息
     */
    private mystudent mystudents;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}